<!doctype html public "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<html>
<head>
<title>
JSJaC Overview
</title>
<link rel ="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script>
function asd() {
	
		parent.document.title="JSJaC.js Overview";
	
}
</script>
</head>
<body bgcolor="white" onload="asd();">

<!-- ========== START OF NAVBAR ========== -->
<a name="navbar_top"><!-- --></a>
<table border="0" width="100%" cellpadding="1" cellspacing="0">
<tr>
<td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
<a name="navbar_top_firstrow"><!-- --></a>
<table border="0" cellpadding="0" cellspacing="3">
  <tr align="center" valign="top">
  
  
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="overview-summary.html"><font class="NavBarFont1"><b>Overview</b></font></a>&nbsp;</td>
  <td bgcolor="#FFFFFF" class="NavBarCell1Rev">	&nbsp;<font class="NavBarFont1Rev"><b>File</b></font>&nbsp;</td>
  

  <td bgcolor="#FFFFFF" class="NavBarCell1"> 	<font class="NavBarFont1">Class</font>&nbsp;</td>
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</b></font></a>&nbsp;</td>
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="index-all.html"--><font class="NavBarFont1"><b>Index</b></font></a>&nbsp;</td>
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="help-doc.html"><font class="NavBarFont1"><b>Help</b></font></a>&nbsp;</td>
  </tr>
</table>
</td>
<td bgcolor="#EEEEFF" align="right" valign="top">
<em>
<b>JSJaC</b></em>
</td>
</tr>

<tr>
<td bgcolor="white" class="NavBarCell2"><font size="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</font></td>
<td bgcolor="white" class="NavBarCell2"><font size="-2">
  <a href="index.html" target="_top"><b>FRAMES</b></a>  &nbsp;
&nbsp;<a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
&nbsp;&nbsp;
<script>
  <!--
  if(window==top) {
    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
  }
  //-->
</script>
<noscript>
<a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
</noscript>
</font></td>
</tr>
</table>
<!-- =========== END OF NAVBAR =========== -->

<hr>
<center>
	
	   <h2>JSJaC.js</h2>
	
</center>

	


<h4>Summary</h4>
<p>
	
		Magic dependency loading. Taken from script.aculo.us
 and modified to break it.
 <BR/><BR/><B>Version: </B>$Revision: 456 $<BR/><BR/><B>Author:</B> Stefan Strigler steve@zeank.in-berlin.de 
 <BR/>
	
</p>

<hr>



<!-- ========== METHOD SUMMARY =========== -->

<!-- ========== END METHOD SUMMARY =========== -->


        <pre class="sourceview"><span class="comment">/**
 * <span class="attrib">@fileoverview</span> Magic dependency loading. Taken from script.aculo.us
 * and modified to break it.
 * <span class="attrib">@author</span> Stefan Strigler steve<span class="attrib">@zeank</span>.in-berlin.de 
 * <span class="attrib">@version</span> $Revision: 456 $
 */</span>

var JSJaC = {
  Version: <span class="literal">'1.3'</span>,
  require: <span class="reserved">function</span>(libraryName) {
    <span class="comment">// inserting via DOM fails in Safari 2.0, so brute force approach</span>
    document.write(<span class="literal">'&lt;script type="text/javascript" src="'</span>+libraryName+<span class="literal">'"&gt;&lt;/script&gt;'</span>);
  },
  load: <span class="reserved">function</span>() {
    var includes =
    [<span class="literal">'xmlextras'</span>,
     <span class="literal">'jsextras'</span>,
     <span class="literal">'crypt'</span>,
     <span class="literal">'JSJaCConfig'</span>,
     <span class="literal">'JSJaCConstants'</span>,
     <span class="literal">'JSJaCCookie'</span>,
     <span class="literal">'JSJaCJSON'</span>,
     <span class="literal">'JSJaCJID'</span>,
     <span class="literal">'JSJaCBuilder'</span>,
     <span class="literal">'JSJaCPacket'</span>,
     <span class="literal">'JSJaCError'</span>,
     <span class="literal">'JSJaCKeys'</span>,
     <span class="literal">'JSJaCConnection'</span>,
     <span class="literal">'JSJaCHttpPollingConnection'</span>,
     <span class="literal">'JSJaCHttpBindingConnection'</span>,
     <span class="literal">'JSJaCConsoleLogger'</span>
     ];
    var scripts = document.getElementsByTagName(<span class="literal">"script"</span>);
    var path = <span class="literal">'./'</span>;
    <span class="reserved">for</span> (var i=0; i&lt;scripts.length; i++) {
      <span class="reserved">if</span> (scripts.item(i).src &amp;&amp; scripts.item(i).src.match(/JSJaC\.js$/)) {
        path = scripts.item(i).src.replace(/JSJaC.js$/,<span class="literal">''</span>);
        break;
      }
    }
    <span class="reserved">for</span> (var i=0; i&lt;includes.length; i++)
      <span class="reserved">this</span>.require(path+includes[i]+<span class="literal">'.js'</span>);
  },
  bind: <span class="reserved">function</span>(fn, obj, arg) {
    <span class="reserved">return</span> <span class="reserved">function</span>() {
      <span class="reserved">if</span> (arg)
        fn.apply(obj, arg);
      <span class="reserved">else</span>
        fn.apply(obj);
    };
  }
};

<span class="reserved">if</span> (typeof JSJaCConnection == <span class="literal">'undefined'</span>)
  JSJaC.load();
</pre>
	<hr>



<!-- ========== START OF NAVBAR ========== -->
<a name="navbar_top"><!-- --></a>
<table border="0" width="100%" cellpadding="1" cellspacing="0">
<tr>
<td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
<a name="navbar_top_firstrow"><!-- --></a>
<table border="0" cellpadding="0" cellspacing="3">
  <tr align="center" valign="top">
  
  
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="overview-summary.html"><font class="NavBarFont1"><b>Overview</b></font></a>&nbsp;</td>
  <td bgcolor="#FFFFFF" class="NavBarCell1Rev">	&nbsp;<font class="NavBarFont1Rev"><b>File</b></font>&nbsp;</td>
  

  <td bgcolor="#FFFFFF" class="NavBarCell1"> <font class="NavBarFont1">Class</font>&nbsp;</td>
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</b></font></a>&nbsp;</td>
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="index-all.html"--><font class="NavBarFont1"><b>Index</b></font></a>&nbsp;</td>
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="help-doc.html"><font class="NavBarFont1"><b>Help</b></font></a>&nbsp;</td>
  </tr>
</table>
</td>
<td bgcolor="#EEEEFF" align="right" valign="top"><em>
<b>JSJaC</b></em>
</td>
</tr>

<tr>
<td bgcolor="white" class="NavBarCell2"><font size="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</font></td>
<td bgcolor="white" class="NavBarCell2"><font size="-2">
  <a href="index.html" target="_top"><b>FRAMES</b></a>  &nbsp;
&nbsp;<a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
&nbsp;&nbsp;
<script>
  <!--
  if(window==top) {
    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
  }
  //-->
</script>
<noscript>
<a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
</noscript>
</font></td>
</tr>
</table>
<!-- =========== END OF NAVBAR =========== -->

<hr>
<font size="-1">

</font>
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Tue Feb 12 18:46:55 2008</div>
</body>
</html>
